//
//  MainWC.m
//  macapp
//
//  Created by Cocoa on 2020/4/11.
//  Copyright © 2020 Talent. All rights reserved.
//

#import "MainWC.h"
#import "MainVC.h"
#import "BaseWindow.h"
@interface MainWC ()

@end

@implementation MainWC

- (void)loadWindow {
    MainVC *liveVC = [[MainVC alloc] initWithNibName:NSStringFromClass([MainVC class]) bundle:nil];
    BaseWindow *window = [BaseWindow windowWithContentViewController:liveVC];
    self.window = window;
//    [super loadWindow];
//    [self.window setContentSize:NSSizeFromCGSize(CGSizeMake(300, 300))];
////    [self.window zoom:self];
//    // 设置最大宽度/ 最小宽度
//    self.window.contentMinSize = CGSizeMake(100, 100);
//    self.window.contentMaxSize = CGSizeMake(300, 300);
    
//    [self.window center];
}

- (void)windowDidLoad {
    [super windowDidLoad];
    
    // Implement this method to handle any initialization after your window controller's window has been loaded from its nib file.
}

@end
